import Mock from 'mockjs'
import data from './data.json'
Mock.mock('/api/user/login','post',{code:200,message:'成功'})
Mock.mock('/api/user/register','post',{code:200,message:'成功'})
Mock.mock('/api/vote/single_add','post',{code:200,message:'成功',data:{id:1}})
Mock.mock('/api/vote/many_add','post',{code:200,message:'成功',data:{id:1}})
Mock.mock('/api/user/allVote','post',{code:200,message:'成功',data})



